const mutations = {
  // 设置是否添加好动态路由
  setAddRoutes(state: any, msg: boolean) {
    state.hadAddRoutes = msg;
  },
  // 设置当前语言
  setCurrentLanguage(state: any, msg: boolean) {
    state.currentLanguage = msg;
  },
  setRenderRouterTree(state: any, msg: Array<any>) {
    state.renderRouterTree = msg;
  },
  setRoutes(state: any, msg: Array<any>) {
    state.routes = msg;
  }
};
export default mutations;